package com.garlic.face.jlf.presenter;

import android.os.Handler;

import org.json.JSONObject;

/**
 * @author wenhui02.liu
 * @date 2018/8/13.
 */

public interface PayWayContract {

    interface View {

        void hideProgress();

        void finish();

        void promptText(final int tipType, final String txt);

        void gotoMain();

        void toSuccssActivity();

        void showProgress();

        void toFailureActivity(String msg, String actionType);
    }

    interface Presenter {

        void cancelTransaction();

        void smilePay();

        void destoryZoloz();

        void parseResponse(JSONObject jsonObject);

        void destoryMXdevice();
    }
}
